<?php

require_once( 'flexical/admin/request.php' );

abstract class Flexical_Admin_Format_Detail_Request extends Flexical_Admin_Request
{
	public $format;

	public function __construct( $format = null )
	{
		$this->format = $format;
	}
}

class Flexical_Admin_Show_Formats_Request extends Flexical_Admin_Request
{
}

class Flexical_Admin_Create_Format_Request extends Flexical_Admin_Format_Detail_Request
{
}

class Flexical_Admin_Update_Format_Request extends Flexical_Admin_Format_Detail_Request
{
	public $canceled = false;

	public function __construct( $format = null, $canceled = null )
	{
		parent::__construct( $format );
		$this->canceled = $canceled;
	}
}

class Flexical_Admin_Delete_Format_Request extends Flexical_Admin_Format_Detail_Request
{
	public $canceled = false;

	public function __construct( $format = null, $canceled = null )
	{
		parent::__construct( $format );
		$this->canceled = $canceled;
	}
}

class Flexical_Admin_View_Format_Request extends Flexical_Admin_Format_Detail_Request
{
}

class Flexical_Admin_Edit_Format_Request extends Flexical_Admin_Format_Detail_Request
{
}

class Flexical_Admin_Confirm_Delete_Format_Request extends Flexical_Admin_Format_Detail_Request
{
}

class Flexical_Admin_Delete_All_Formats_Request extends Flexical_Admin_Request
{
	public $confirmed;

	public function __construct( $confirmed = false )
	{
		$this->confirmed = $confirmed;
	}
}

?>
